const fs = require("fs");

const Promise = require('./promise')
const p1 = new Promise((resolve,reject)=>{
    reject(100);
})

p1.then().then().then((data)=>{
   console.log(data)
},err=>{
    console.log('err',err)
})